package com.sugon.dao;
import com.sugon.entity.DevRetreadRecordEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 修旧利废记录/改良改善台账Dao
 *
 * @author sugon
 * @date 2019-07-19 08:33:39
 */
public interface DevRetreadRecordDao extends BaseDao<DevRetreadRecordEntity> {

    /**
     * 统计备件的自主维修数
     *
     * @param spIdList 备件ID列表
     * @param fixStatus   修复状态
     */
    int countSpZzwxNum(@Param("spIdList") List<String> spIdList, @Param("fixStatusList") List<Integer> fixStatusList);

}
